<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Marker Resolutions</title>
<style type="text/css">@import url("file:/home/moovida/rcpdevelopment/eclipse/configuration/org.eclipse.osgi/bundles/488/1/.cp/book.css");</style>
<style type="text/css">@import url("file:/home/moovida/rcpdevelopment/eclipse/configuration/org.eclipse.osgi/bundles/505/1/.cp/schema.css");</style>
</HEAD>
<BODY>
<H1 style="text-align:center">Marker Resolutions</H1>
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.ui.ide.markerResolution<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>3.0 (originally added in release 2.0 as org.eclipse.ui.markerResolution)
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point is used to associate a marker resolution generator with a specific "kind" of marker.
(a marker of a certain type or having certain attribute values).<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p></p>
<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.markerResolutionGenerator">markerResolutionGenerator</a>*)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST extension</p>
<p class="code SchemaDtdAttlist">point&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>point</b> - a fully qualified identifier of the target extension point</li>
<li><b>id</b> - an optional identifier of the extension instance</li>
<li><b>name</b> - an optional name of the extension instance</li>
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.markerResolutionGenerator">markerResolutionGenerator</a> (<a href="#e.attribute">attribute</a>*)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST markerResolutionGenerator</p>
<p class="code SchemaDtdAttlist">class&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">markerType&nbsp;IDREF #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>class</b> - the name of the class implementing <code>IMarkerResolutionGenerator</code>. For better performance it should also implement <code>IMarkerResolutionGenerator2</code>.</li>
<li><b>markerType</b> - the marker type for which this marker resolution generator applies. It does not apply to marker subtypes.</li>
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.attribute">attribute</a> EMPTY&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST attribute</p>
<p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">value&nbsp;CDATA #REQUIRED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>name</b> - the name of the attribute whose value is being specified.</li>
<li><b>value</b> - the specified value of the attribute.</li>
</ul>
<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>The following is an example of a marker resolution generator extension (note the sub-element and the way attributes are used):

<p>
<pre class="Example"><span class="code SchemaTag">
 &lt;extension point=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.ide.markerResolution&quot;</span><span class="code SchemaTag">&gt;
  &lt;markerResolutionGenerator
   class=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.examples.readmetool.ReadmeMarkerResolutionGenerator&quot;</span><span class="code SchemaTag">
   markerType=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.examples.readmetool.readmemarker&quot;</span><span class="code SchemaTag">&gt;
   &lt;attribute name=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.examples.readmetool.id&quot;</span><span class="code SchemaTag"> value=</span><span class="code SchemaCstring">&quot;1234&quot;</span><span class="code SchemaTag">/&gt;
  &lt;/markerResolutionGenerator&gt;
 &lt;/extension&gt;
</span></pre>
</p>

In the example above, a marker resolution generator is associated with markers of type org.eclipse.ui.examples.readmetool.readmemarker
whose org.eclipse.ui.examples.redmetool.id attribute has a value of 1234.
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">API Information: </h6>More than one marker resolution generator may be supplied for a given marker as long as the target attributes are different by name or value.
<p></p>

<br>
<p class="note SchemaCopyright">
Copyright (c) 2002, 2009 IBM Corporation and others.<br>
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at <a 
href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>

</p>
</BODY>
</HTML>
